with open("PY301-vacations.csv", "r", encoding='utf-8') as fi:
    ls = []
    for line in fi:
        ls.append(line.strip("\n").split(","))
s = input("请输入节假日序号:  ").split(" ")
while True:
    for i in s:
        for line in ls:
            if i == line[0]:
                print("{}({})假期位于{}月{}日至{}月{}日之间".format(line[1],line[0],line[2][0]+line[2][1],line[2][2]+line[2][3],
                                                         line[3][0]+line[3][1],line[3][2]+line[3][3]))
    s = input("请输入节假日序号:  ").split(" ") 
                                                         

